package com.jinyijia.api.rest.v1.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author WX
 * @date 2018/8/8
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CategoryDTO {

    private Integer id;
    private String name;
    private Integer parentId;
    private Set<CategoryDTO> children;
    private Integer sort;
    private String namePath;

}
